package light.head.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table
public class MessageTemplate implements Serializable {

	private static final long serialVersionUID = -4559640807642725478L;
	
	private String code;					// 流水号
	private String name;					// 模板名称
	private String content;					// 内容
	private String des;						// 说明
	

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column
	public String getCode() {
		return code;
	}
	@Column(length = 100)
	public String getName() {
		return name;
	}
	@Column(length = 10000)
	public String getContent() {
		return content;
	}
	@Column(length = 1000)
	public String getDes() {
		return des;
	}
	
	
	
	
	
	
	
	
	

	public void setCode(String code) {
		this.code = code;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public void setDes(String des) {
		this.des = des;
	}
}
